package com.itheima.pojo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import javax.persistence.Column;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name="t_sys_log")
public class SysLog implements Serializable {

    @Id
    @Column(name = "uid")
    private String  uid;

    @Column(name = "user_name")
    private String  userName ;
    @Column(name = "admin_uid")
    private String  adminuid;
    @Column(name = "ip")
    private String  ip ;
    @Column(name = "url")
    private String  url ;
    @Column(name = "type")
    private String  type ;
    @Column(name = "class_path")
    private String  classPath ;
    @Column(name = "method")
    private String  method ;
    @Column(name = "params")
    private String  params ;
    @Column(name = "operation")
    private String  operation ;
    @Column(name = "status")
    private byte  status ;
    @Column(name = "create_time")
    private Date  createTime ;
    @Column(name = "update_time")
    private Date  updateTime ;
    @Column(name = "ip_source")
    private String  ipSource ;
    @Column(name = "spend_time")
    private int  spendTime ;

}